<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:66:"D:\phpstudy\WWW\tp5\public/../app/admin\view\index\pic_upload.html";i:1508306082;}*/ ?>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    <title>图片修改</title>
    <link rel="shortcut icon" href="__PUBLIC__/favicon.ico">
    <!--自定义图标-->
    <link rel="stylesheet" type="text/css" href="__CSS__/bootstrap.min.css">
    <link href="__CSS__/upload/fileinput.min.css" media="all" rel="stylesheet" type="text/css"/>

    <script src="__JS__/jquery-2.0.3.min.js"></script>
    <script src="__JS__/upload/fileinput.min.js" type="text/javascript"></script>
    <script src="__JS__/bootstrap.min.js" type="text/javascript"></script>


    <!--引入bootstrap css样式-->
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <link rel="stylesheet" href="__CSS__font-awesome.min.css">
</head>
<body>
<div class="col-sm-12">

    <form style=" opacity: 0.8;" id="valiForm" class="form-horizontal" action="<?php echo url('upload/upload'); ?>"
          enctype="multipart/form-data" method="post" name="form" ng-submit="submitForm()">
        <img class="img-responsive center-block" src="__PUBLIC__/logo.png">
        <a href="<?php echo url('index/index/index'); ?>" type="button" class="close" aria-hidden="true"
                >&times;</a>
        <span class="heading">中国华为科技有限公司</span>

        <div class="form-group input-group help">

             <span class="input-group-addon">
               <span class="glyphicon glyphicon-lock"></span></span>
            图片上传:<input id="file-1" type="file" name="picurl" multiple class="file" data-overwrite-initial="false"
                        data-min-file-count="2"/> <br>


        </div>
        <input type="submit" class="btn btn-default" value="上传"/>

        <p class="p">版权所有©2016 华为科技有限公司 <a href="http://www.miitbeian.gov.cn/"> 粤A2-20044005号</a></p>
    </form>


</div>


<script>
    function key() {
        if (event.keyCode == 13) {

            event.returnValue = false;
            event.cancle = true;
            loginform.submit.click();

        }

    }

</script>

<script>

    $("#file-1").fileinput({
        uploadUrl: '#', // you must set a valid URL here else you will get an error
        allowedFileExtensions: ['jpg', 'png', 'gif'],
        overwriteInitial: false,
        maxFileSize: 1000,
        maxFilesNum: 10,
        //allowedFileTypes: ['image', 'video', 'flash'],
        slugCallback: function (filename) {
            return filename.replace('(', '_').replace(']', '_');
        }
    });

</script>
<script type="text/javascript" src="__JS__/login.js"></script>
</body>
</html>